package com.zx.service.impl;

import com.zx.dao.DepartmentDao;
import com.zx.dao.impl.DepartmentDaoImpl;
import com.zx.entity.Department;
import com.zx.service.DepartmentService;

import java.util.List;

public class DepartmentServiceImpl implements DepartmentService {
    DepartmentDao departmentDao = new DepartmentDaoImpl();
    @Override
    public List<Department> departmentList() {
        return departmentDao.departmentList();
    }
}
